package com.whc.user.domain.entity;


import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户实体类")
public class User implements Serializable  {
    private static final long serialVersionUID = 1L;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 用户id
     */
    private long id;
    /**
     * 密码
     */
    private String password;
    /**
     * 电话
     */
    private String phone;
    /**
     * 头像
     */
    private String photo;
    /**
     * 性别
     */
    private String sex;
    /**
     * 名字
     */
    private String username;

    private Double money;

    private Integer type;


}
